Construct a list
Example (Step 2)
listrecord->nextrecord = new recdata;
if (listrecord->nextrecord == NULL)
cout << “2: unable to allocate storage space";
listrecord = (*listrecord).nextrecord;
listrecord->number = 20;
listrecord->code = "This is the second record";
struct recdata{
int
number;
AnsiString
code;
recdata *nextrecord;
};